package csu.web.mypetstore.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName profile
 */
@TableName(value ="profile")
@Data
public class Profile implements Serializable {
    /**
     * 
     */
    private String userid;

    /**
     * 
     */
    private String langpref;

    /**
     * 
     */
    private String favcategory;

    /**
     * 
     */
    private Integer mylistopt;

    /**
     * 
     */
    private Integer banneropt;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getLangpref() {
        return langpref;
    }

    public void setLangpref(String langpref) {
        this.langpref = langpref;
    }

    public String getFavcategory() {
        return favcategory;
    }

    public void setFavcategory(String favcategory) {
        this.favcategory = favcategory;
    }

    public Integer getMylistopt() {
        return mylistopt;
    }

    public void setMylistopt(Integer mylistopt) {
        this.mylistopt = mylistopt;
    }

    public Integer getBanneropt() {
        return banneropt;
    }

    public void setBanneropt(Integer banneropt) {
        this.banneropt = banneropt;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", userid=").append(userid);
        sb.append(", langpref=").append(langpref);
        sb.append(", favcategory=").append(favcategory);
        sb.append(", mylistopt=").append(mylistopt);
        sb.append(", banneropt=").append(banneropt);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}